# $Id: PKGBUILD 65821 2012-02-22 12:48:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-file-type
pkgver=0.22
pkgrel=5
pkgdesc="Perl/CPAN Module File::Type"
arch=("any")
url="http://search.cpan.org/dist/File-Type"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz")
md5sums=('4be3b0b7000b325c60351fcc8a04815d')

build() {
  cd $srcdir/File-Type-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
